package cn.fanyamin.business;

import java.util.List;

import cn.fanyamin.domain.BookSearchCriteria;
import cn.fanyamin.web.vo.BookVO;

public interface BookService {
    public int createBook(BookVO book);
    public BookVO retrieveBook(int id);
    public int updateBook(BookVO t);
    public int deleteBook(int id);
    public int getBookCount(BookSearchCriteria criteria);
    public List<BookVO> getAllBooks();    
    public List<BookVO> getUserBooks(int userID);
    public List<BookVO> listBook(int pageNo, int pageSize, BookSearchCriteria criteria);
}
